﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrProductCategory.ascx.cs"
    Inherits="Controls_Products_ctrProductCategory" %>
<%@ Register Namespace="ASPnetControls" Assembly="ASPnetPagerV2_8" TagPrefix="cc" %>
<div style="padding: 15px 0px 15px 0px">
    <asp:Label ID="lblCategoryName" runat="server" Font-Bold="true" Font-Size="15px"></asp:Label></div>
<div class="listing">
    <ul>
        <asp:Repeater ID="rptProduct" runat="server" OnItemDataBound="rptProduct_ItemDataBound"
            OnItemCommand="rptProduct_ItemCommand">
            <ItemTemplate>
                <li><a href="#" class="thumb">
                    <asp:ImageButton runat="server" ID="btnProductImage" CommandName="image" Width="138px"
                        Height="152px" /></a>
                    <asp:HyperLink runat="server" ID="lnkProductName" ForeColor="#E24316"></asp:HyperLink>
                    <br />
                    (<asp:Label ID="lblCode" runat="server"></asp:Label>)
                    <div class="cart_price" style="padding-top: 7px;">
                        <span style="padding: 5px 10px 5px 10px">
                            <asp:LinkButton runat="server" ID="lnkAddCart" CommandName="addcart" ForeColor="White"></asp:LinkButton></span>
                        <span style="padding: 5px 5px 5px 5px">
                            <asp:Label runat="server" ID="lblPrice"></asp:Label></span>
                    </div>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
</div>
<div style="float: right; padding-right: 15px; padding-bottom: 20px; width: 98%">
    <cc:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" PageSize="20" BackToFirstClause="Về trang đầu"
        BackToPageClause="Trở về trang" CompactModePageCount="0" CurrentIndex="1" FirstClause="&lt;&lt;"
        FromClause="From" GenerateFirstLastSection="False" GenerateGoToSection="False"
        GenerateHiddenHyperlinks="False" GeneratePagerInfoSection="True" GenerateSmartShortCuts="True"
        GenerateToolTips="True" GoClause="go" GoToLastClause="tới trang cuối" ItemCount="0"
        LastClause="&gt;&gt;" MaxSmartShortCutCount="6" NextClause="&gt;" NextToPageClause="Đến trang"
        NormalModePageCount="15" OfClause="trong tổng số" PageClause="Trang" PreviousClause="&lt;"
        QueryStringParameterName="pagerControlCurrentPageIndex" RTL="False" ShowingResultClause="Viser"
        ShowResultClause="Từ sản phẩm" SmartShortCutRatio="3" SmartShortCutThreshold="30"
        ToClause="đến" />
</div>
<div id="tblWarning" runat="server" align="center" style="border: 1px solid #A0A1A0;
    height: 25px; padding-top: 5px; padding-right: 15px; padding-bottom: 20px">
    <asp:Label ID="lblWarning" runat="server" ForeColor="black" Font-Bold="true"></asp:Label>
</div>
